/* 全局容器 */
.lock-screen-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f7fd;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(68, 135, 236, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(68, 135, 236, 0.05) 0%, transparent 20%);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 弹窗容器 */
.lock-modal {
  width: 360px;
  height: 420px;
  background: white;
  border-radius: 15px;
  padding: 50px 35px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 标题组 */
.title-group {
  text-align: center;
  margin-bottom: 45px;
}

.lock-status {
  font-size: 26px;
  font-weight: 600;
  color: #505050;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.welcome-text {
  font-size: 18px;
  color: #888;
  font-weight: 400;
}

/* 表单样式 */
.lock-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 密码输入项 */
.password-item {
  margin-bottom: 25px !important;
}

/* 适配 Ant Design Input 样式（通过后代选择器，避免全局污染） */
.password-item :global(.ant-input-affix-wrapper) {
  height: 42px;
  border-radius: 6px;
  border: 1.5px solid #D0D4DB;
  transition: all 0.3s ease;
}

.password-item :global(.ant-input-affix-wrapper:hover) {
  border-color: #4487EC;
}

.password-item :global(.ant-input-affix-wrapper-focused) {
  border-color: #4487EC;
  box-shadow: 0 0 0 3px rgba(68, 135, 236, 0.1);
  outline: none;
  box-shadow: none; /* 清除 Ant Design 默认聚焦阴影 */
}

.password-item :global(.ant-input::placeholder) {
  color: #B0B0B0;
  font-size: 14px;
}

/* 锁图标 */
.lock-icon {
  color: #999;
  font-size: 18px;
  margin-right: 8px;
}

/* 错误提示（Ant Design 全局类名，用 :global 包裹） */
:global(.ant-form-item-explain) {
  font-size: 12px;
  color: #F56C6C;
  margin-top: 6px;
  line-height: 1.4;
}

/* 提交按钮项 */
.submit-item {
  margin-bottom: 0 !important;
}

/* 解锁按钮 */
.unlock-btn {
  width: 100%;
  height: 42px;
  background-color: #4487EC;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.unlock-btn:hover,
.unlock-btn:focus {
  background-color: #3A7BD5;
  box-shadow: 0 4px 12px rgba(68, 135, 236, 0.2);
}

.unlock-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* 加载状态调整 */
.unlock-btn :global(.ant-loading-spinner) {
  margin-right: 8px;
}

/* 响应式适配 */
@media (max-width: 375px) {
  .lock-modal {
    width: 92%;
    height: auto;
    min-height: 380px;
    padding: 40px 25px;
  }

  .title-group {
    margin-bottom: 35px;
  }

  .lock-status {
    font-size: 24px;
  }
}